package com.tools.developer.hardware;

import android.app.ActivityManager;
import android.content.Context;
import android.content.pm.ConfigurationInfo;

public class HardwareUtil {
	public static ConfigurationInfo getDeviceConfigurationInfo(Context context) {
		ActivityManager activityMgr = (ActivityManager) context
				.getSystemService(Context.ACTIVITY_SERVICE);
		return activityMgr.getDeviceConfigurationInfo();
	}
}
